#include "Vertex.h"

void Vertex::init(const Vector &v){
	rhw = 1 / v.w;
	color.x = rhw;
	color.y = rhw;
	color.z = rhw;
	tex.x = rhw;
	tex.y = rhw;
	normal = normal * rhw;
}
Vertex::Vertex() {
	fNum = 0;
}
